<?php
$path = $_SERVER["PHP_SELF"];
$parts = explode('/', $path);
$page = $parts[count($parts) - 1];
$subparts = explode("?",$page);
$subpage = $subparts[0];
 ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Bình Lợi Corp | 
<?php 
if($page=="index.php")
echo "Home";
else if($page=="info.php")
echo "Info";
else if($page=="contact.php")
echo "Contact";
else if($page=="service_design.php")
echo "Design";
else if($page=="service_construction.php")
echo "Construction";
else if($page=="service_repair.php")
echo "Repair";
else if($page=="service_real_estate.php")
echo "Real Estate";
else if($page=="service_car_repair.php")
echo "Car";
else if($page=="work.php")
echo "Work";
else if ($subpage=="work_detail.php")
echo "Work";
else if ($page=="news.php")
echo "News";
else if ($subpage=="news_detail.php")
echo "News";
else if ($subpage=="news_real_estate.php")
echo "News";
else if ($subpage=="news_construction.php")
echo "News";
else if ($subpage=="news_car.php")
echo "News";
else if ($page=="login.php")
echo "Login";

?>
</title>
<meta name="keywords" content="work center, theme, piecemaker 3D image slider, 960, free templates, CSS, HTML" />
<meta name="description" content="Work Center Theme is a free CSS template by templatemo.com for everyone. Feel free to use it for any purpose." />
<link href="css/templatemo_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/swfobject/swfobject.js"></script>
        
<script type="text/javascript">
  var flashvars = {};
  flashvars.cssSource = "css/piecemaker.css";
  flashvars.xmlSource = "flash/piecemaker.xml";
	
  var params = {};
  params.play = "true";
  params.menu = "false";
  params.scale = "showall";
  params.wmode = "transparent";
  params.allowfullscreen = "true";
  params.allowscriptaccess = "always";
  params.allownetworking = "all";
  
  swfobject.embedSWF('flash/piecemaker.swf', 'piecemaker', '960', '440', '10', null, flashvars,    
  params, null);

</script>

<script language="javascript" type="text/javascript">
function clearText(field)
{
    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;
}
</script>

<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">

/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "templatemo_menu", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

</script> 
</head>

<body>
<div id="templatemo_header_wrapper">
  <div id="templatemo_header">
      <div id="site_title"><img src="images/BLlogo.png" width="151" height="50" /></div>
        <div id="templatemo_menu" class="ddsmoothmenu">
            <ul>
            
              <li><a href="index.php" <?php if($page=="index.php") echo 'class="selected"'; ?> > Trang Chủ</a></li>
                <li><a href="info.php" <?php if($page=="info.php") echo 'class="selected"'; ?> >Thông Tin</a></li>
                <li><a href="#" <?php if($page=="service.php" || $page=="service_design.php" || $page=="service_repair.php" || $page=="service_construction.php" || $page=="service_real_estate.php" || $page=="service_car_repair.php") echo 'class="selected"'; ?> >Dịch Vụ</a>
                    <ul>
                        <li><span class="top"></span><span class="bottom"></span></li>
                        <li><a href="service/service_design.php">Thiết Kế, Nội Thất</a></li>
                        <li><a href="service/service_construction.php">Thi Công Công Trình</a></li>
                        <li><a href="service/service_repair.php">Sửa Chữa, Nâng Cấp</a></li>
                        <li><a href="service/service_real_estate.php">Bất Động Sản</a></li>
                        <li><a href="service/service_car_repair.php">Xe Hơi</a></li>
                  	</ul>
                </li>
                <li><a href="work.php" <?php if($page=="work.php" || $subpage=="work_detail.php") echo 'class="selected"'; ?> >Công Trình</a></li>
                <li><a href="news.php" <?php if($page=="news.php" || $subpage=="news_detail.php" || $page=="news_real_estate.php" || $page=="news_construction.php" || $page=="news_car.php") echo 'class="selected"'; ?> >Tin Tức</a>
                 <ul>
                        <li><span class="top"></span><span class="bottom"></span></li>
                        <li><a href="news/news_real_estate.php">Bất Động Sản</a></li>
                        <li><a href="news/news_construction.php">Thi Công Công Trình</a></li>
                        <li><a href="news/news_car.php">Xe Hơi</a></li>
                  	</ul>
                </li>
                <li><a href="contact.php" <?php if($page=="contact.php") echo 'class="selected"'; ?> >Liên Hệ</a></li>
                 <li><a href="#" <?php if($page=="login.php") echo 'class="selected"'; ?> >Nhân Viên</a>
                 <ul>
                        <li><span class="top"></span><span class="bottom"></span></li>
                        <li><a href="login.php">Đăng Nhập Dữ Liệu</a></li>
                        <li><a href="http://email.binhloi.net">Đăng Nhập Email</a></li>
                  	</ul>
                </li>
          </ul>
            <br style="clear: left" />
    </div>
    
     <!-- end of templatemo_menu --></div> 
    <!-- END of header -->
</div>
<!-------------------------------------------------- Header ---------------------------------------------->